package edu.wuster.blog.mapper;


import edu.wuster.blog.entity.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AdminMapper {
    @Select("select * from admin where adminname = #{adminname} and password = #{password}")
    Admin selectLogin(Admin admin);
}
